﻿using System;
using System.Windows.Forms;
using Slippor.Common.PluginFramework;

namespace SinaWeiboPlugin
{
    public partial class ConfigForm : Form
    {
        public ConfigForm(IConfig config)
        {
            InitializeComponent();
            configControl.Closed += new EventHandler(configControl_Closed);
        }

        private void configControl_Closed(object sender, EventArgs e)
        {
            DialogResult = configControl.DialogResult;
        }
    }
}
